package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_WanliSupplementaryItem", catalog="Id")
public class TcwWanliSupplementaryItem extends BaseEntity<TcwWanliSupplementaryItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="DepositPlatformCode", nameJava="depositPlatformCode", typeDataBase="varchar")
	private String depositPlatformCode;
	@YsField(nameDataBase="CurrencyCode", nameJava="currencyCode", typeDataBase="varchar")
	private String currencyCode;
	@YsField(nameDataBase="Amount", nameJava="amount", typeDataBase="decimal")
	private BigDecimal amount;
	@YsField(nameDataBase="Explain", nameJava="explain", typeDataBase="varchar")
	private String explain;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwWanliSupplementaryItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TcwWanliSupplementaryItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public String getDepositPlatformCode() {
		return depositPlatformCode;
	}
	public TcwWanliSupplementaryItem setDepositPlatformCode(String depositPlatformCode) {
		this.depositPlatformCode = depositPlatformCode;
		return this;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public TcwWanliSupplementaryItem setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
		return this;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public TcwWanliSupplementaryItem setAmount(BigDecimal amount) {
		this.amount = amount;
		return this;
	}
	public String getExplain() {
		return explain;
	}
	public TcwWanliSupplementaryItem setExplain(String explain) {
		this.explain = explain;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwWanliSupplementaryItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwWanliSupplementaryItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwWanliSupplementaryItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwWanliSupplementaryItem tcwWanliSupplementaryItem(
		String pbid,
		String depositPlatformCode,
		String currencyCode,
		BigDecimal amount,
		String explain,
		Integer status
			) {
		TcwWanliSupplementaryItem entity = new TcwWanliSupplementaryItem();
		entity.setPbid(pbid);
		entity.setDepositPlatformCode(depositPlatformCode);
		entity.setCurrencyCode(currencyCode);
		entity.setAmount(amount);
		entity.setExplain(explain);
		entity.setStatus(status);
		return entity;
	}
}